package com.cjx.leetcode.backtracking;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cjx
 * @description E332.重新安排行程【难】
 * @createDate 2024/4/10 10:33
 **/
public class E332 {

    private final List<String> result = new ArrayList<>();

    public List<String> findItinerary(List<List<String>> tickets) {
        return null;
    }

    private void backtracking(List<List<String>> tickets,String now,int startIndex,boolean[] isUsed){
        int size = tickets.size();
        if (result.size() == size){
            return;
        }
        for (int i = startIndex; i < size; i++) {
            //此飞机票没用过
            if (!isUsed[i]){
                //判断此飞机票起飞点是否是目前所在点
                if (tickets.get(i).get(0).equals(now)){

                }
            }
        }
    }
}
